home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
Aldus Fetch™
/
Fetch Browser
/
Fetch Browser.rsrc
/
CODE_30_ACursUtils.txt
< prev
next >
Wrap
Text File
|
1992-10-27
|
11KB
|
204 lines
# near model CODE resource
# jump table entries: 13448-13452 (5 of them)
export_1681:
00000000 4E56 0000 link A6, 0
00000004 4E5E unlink A6
00000006 4E75 rts
00000008 9543 subx.w D2, D3
0000000A 4C45 414E movem.l D1,D2,D3,D6,A0,A6, D5
0000000E 5550 subq.w [A0], 2
00000010 5541 subq.w D1, 2
00000012 4E49 trap 9
00000014 4D43 chk.w D6, D3
00000016 5552 subq.w [A2], 2
00000018 5355 subq.w [A5], 1
0000001A 5449 addq.w A1, 2
0000001C 4C53 0000 movem.l <none>, [A3]
export_1682:
00000020 4E56 FFF4 link A6, -0x000C
00000024 48E7 0118 movem.l -[A7], D7,A3,A4
00000028 42A7 clr.l -[A7]
0000002A 2F3C 6163 7572 move.l -[A7], 0x61637572 /* 'acur' */
00000030 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000034 A9A0 syscall GetResource
00000036 285F movea.l A4, [A7]+
00000038 200C move.l D0, A4
0000003A 6744 beq +0x46 /* 00000080 */
0000003C 2054 movea.l A0, [A4]
0000003E 7001 moveq.l D0, 0x01
00000040 B050 cmp.w D0, [A0]
00000042 6E34 bgt +0x36 /* 00000078 */
00000044 2F0C move.l -[A7], A4
00000046 A992 syscall DetachResource
00000048 200C move.l D0, A4
0000004A 6734 beq +0x36 /* 00000080 */
0000004C 2054 movea.l A0, [A4]
0000004E 4268 0002 clr.w [A0 + 0x2]
00000052 2054 movea.l A0, [A4]
00000054 3D50 FFF4 move.w [A6 - 0xC], [A0]
00000058 7E01 moveq.l D7, 0x01
0000005A 6014 bra +0x16 /* 00000070 */
label0000005C:
0000005C 42A7 clr.l -[A7]
0000005E 2054 movea.l A0, [A4]
00000060 3007 move.w D0, D7
00000062 E540 asl D0.w, 2
00000064 3F30 0000 move.w -[A7], [A0 + D0.w]
00000068 A9B9 syscall GetCursor
0000006A 265F movea.l A3, [A7]+
0000006C 5247 addq.w D7, 1
0000006E 6910 bvs +0x12 /* 00000080 */
label00000070:
00000070 BE6E FFF4 cmp.w D7, [A6 - 0xC]
00000074 6FE6 ble -0x18 /* 0000005C */
00000076 6008 bra +0xA /* 00000080 */
label00000078:
00000078 2F0C move.l -[A7], A4
0000007A A9A3 syscall ReleaseResource
0000007C 7000 moveq.l D0, 0x00
0000007E 2840 movea.l A4, D0
label00000080:
00000080 2D4C 000A move.l [A6 + 0xA], A4
00000084 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000088 4E5E unlink A6
0000008A 205F movea.l A0, [A7]+
0000008C 544F addq.w A7, 2
0000008E 4ED0 jmp [A0]
00000090 9047 sub.w D0, D7
00000092 4554 chk.w D2, [A4]
00000094 4E45 trap 5
00000096 5741 subq.w D1, 3
00000098 4E49 trap 9
0000009A 4D43 chk.w D6, D3
0000009C 5552 subq.w [A2], 2
0000009E 534F subq.w A7, 1
000000A0 5200 addq.b D0, 1
000000A2 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1683: // at 000000A4 (misaligned)
000000A6 0000 2B6E ori.b D0, 0x6E /* 'n' */
000000AA 0008 E960 ori.b A0, 0x60 /* '`' */
000000AE 4E5E unlink A6
000000B0 2E9F move.l [A7], [A7]+
000000B2 4E75 rts
000000B4 9253 sub.w D1, [A3]
000000B6 4554 chk.w D2, [A4]
000000B8 5350 subq.w [A0], 1
000000BA 494E chk.w D4, A6
000000BC 4355 chk.w D1, [A5]
000000BE 5253 addq.w [A3], 1
000000C0 4F52 chk.w D7, [A2]
000000C2 4445 neg.w D5
000000C4 4C41 5900 movem.l A0,A3,A4,A6, D1
000000C8 0000 0000 ori.b D0, 0x0
export_1684:
000000CC 4E56 FFFC link A6, -0x0004
000000D0 48E7 0018 movem.l -[A7], A3,A4
000000D4 286E 000A movea.l A4, [A6 + 0xA]
000000D8 200C move.l D0, A4
000000DA 56C0 sne D0
000000DC 4A00 tst.b D0
000000DE 6776 beq +0x78 /* 00000156 */
000000E0 2F00 move.l -[A7], D0
000000E2 42A7 clr.l -[A7]
000000E4 A975 syscall TickCount
000000E6 221F move.l D1, [A7]+
000000E8 201F move.l D0, [A7]+
000000EA B2AD E95C cmp.l D1, [A5 - 0x16A4]
000000EE 5EC1 sgt D1
000000F0 C001 and.b D0, D1
000000F2 6762 beq +0x64 /* 00000156 */
000000F4 102E 0008 move.b D0, [A6 + 0x8]
000000F8 671A beq +0x1C /* 00000114 */
000000FA 2054 movea.l A0, [A4]
000000FC 5268 0002 addq.w [A0 + 0x2], 1
00000100 2054 movea.l A0, [A4]
00000102 2248 movea.l A1, A0
00000104 3028 0002 move.w D0, [A0 + 0x2]
00000108 B051 cmp.w D0, [A1]
0000010A 6F1E ble +0x20 /* 0000012A */
0000010C 317C 0001 0002 move.w [A0 + 0x2], 0x1
00000112 6016 bra +0x18 /* 0000012A */
label00000114:
00000114 2054 movea.l A0, [A4]
00000116 5368 0002 subq.w [A0 + 0x2], 1
0000011A 2054 movea.l A0, [A4]
0000011C 7001 moveq.l D0, 0x01
0000011E B068 0002 cmp.w D0, [A0 + 0x2]
00000122 6F06 ble +0x8 /* 0000012A */
00000124 2248 movea.l A1, A0
00000126 3350 0002 move.w [A1 + 0x2], [A0]
label0000012A:
0000012A 42A7 clr.l -[A7]
0000012C 2054 movea.l A0, [A4]
0000012E 2248 movea.l A1, A0
00000130 3029 0002 move.w D0, [A1 + 0x2]
00000134 E540 asl D0.w, 2
00000136 3F30 0000 move.w -[A7], [A0 + D0.w]
0000013A A9B9 syscall GetCursor
0000013C 265F movea.l A3, [A7]+
0000013E 200B move.l D0, A3
00000140 6706 beq +0x8 /* 00000148 */
00000142 A853 syscall ShowCursor
00000144 2F13 move.l -[A7], [A3]
00000146 A851 syscall SetCursor
label00000148:
00000148 42A7 clr.l -[A7]
0000014A A975 syscall TickCount
0000014C 202D E960 move.l D0, [A5 - 0x16A0]
00000150 D09F add.l D0, [A7]+
00000152 2B40 E95C move.l [A5 - 0x16A4], D0
label00000156:
00000156 4CDF 1800 movem.l A3,A4, [A7]+
0000015A 4E5E unlink A6
0000015C 205F movea.l A0, [A7]+
0000015E 5C4F addq.w A7, 6
00000160 4ED0 jmp [A0]
00000162 8E53 or.w D7, [A3]
00000164 5049 addq.w A1, 8
00000166 4E41 trap 1
00000168 4E49 trap 9
0000016A 4D43 chk.w D6, D3
0000016C 5552 subq.w [A2], 2
0000016E 534F subq.w A7, 1
00000170 5200 addq.b D0, 1
00000172 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_1685: // at 00000174 (misaligned)
00000176 0000 4A6E ori.b D0, 0x6E /* 'n' */
0000017A 0008 6F14 ori.b A0, 0x14
0000017E 7003 moveq.l D0, 0x03
00000180 B06D E9B0 cmp.w D0, [A5 - 0x1650]
00000184 6606 bne +0x8 /* 0000018C */
00000186 426D E9B0 clr.w [A5 - 0x1650]
0000018A 601E bra +0x20 /* 000001AA */
label0000018C:
0000018C 526D E9B0 addq.w [A5 - 0x1650], 1
00000190 6018 bra +0x1A /* 000001AA */
00000192 4A6E 0008 tst.w [A6 + 0x8]
00000196 6C12 bge +0x14 /* 000001AA */
00000198 4A6D E9B0 tst.w [A5 - 0x1650]
0000019C 6608 bne +0xA /* 000001A6 */
0000019E 3B7C 0003 E9B0 move.w [A5 - 0x1650], 0x3
000001A4 6004 bra +0x6 /* 000001AA */
label000001A6:
000001A6 536D E9B0 subq.w [A5 - 0x1650], 1
label000001AA:
000001AA A853 syscall ShowCursor
000001AC 302D E9B0 move.w D0, [A5 - 0x1650]
000001B0 41BC 0003 41ED .invalid 0, 0x341ED // invalid opcode 4 with b == 6
000001B6 E9A0 asl D0, D4
000001B8 E540 asl D0.w, 2
000001BA 2070 0000 movea.l A0, [A0 + D0.w]
000001BE 2F10 move.l -[A7], [A0]
000001C0 A851 syscall SetCursor
000001C2 4E5E unlink A6
000001C4 205F movea.l A0, [A7]+
000001C6 544F addq.w A7, 2
000001C8 4ED0 jmp [A0]
000001CA 8A53 or.w D5, [A3]
000001CC 5049 addq.w A1, 8
000001CE 4E43 trap 3
000001D0 5552 subq.w [A2], 2
000001D2 534F subq.w A7, 1
000001D4 5200 addq.b D0, 1
000001D6 0000 .incomplete